package com.mdhw.system.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.mdhw.system.entity.SysUserTixianLog;
import com.mdhw.system.vo.SysUserTixianExportVo;
import com.mdhw.system.vo.SysUserTixianLogVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SysUserTixianLogDao extends BaseMapper<SysUserTixianLog> {
    int deleteByPrimaryKey(Long id);

    int insert(SysUserTixianLog record);

    int insertSelective(SysUserTixianLog record);

    SysUserTixianLog selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUserTixianLog record);

    int updateByPrimaryKey(SysUserTixianLog record);

    IPage<SysUserTixianLogVo> selectUserTixianLogPage(IPage<SysUserTixianLogVo> page, @Param(Constants.WRAPPER) QueryWrapper<SysUserTixianLogVo> wrapper);
    List<SysUserTixianLogVo> selectUserTixianLogVoList(@Param(Constants.WRAPPER) QueryWrapper<SysUserTixianLogVo> wrapper);
    List<SysUserTixianExportVo> selectUserTixianLogList(@Param(Constants.WRAPPER) QueryWrapper<SysUserTixianExportVo> wrapper);

}